Skip to content

appveyor: build test suite for coff32#7968

Merged
dlang-bot merged 1 commit intodlang:masterfrom
rainers:appveyor_coff32
Mar 9, 2018
Merged

appveyor: build test suite for coff32#7968
dlang-bot merged 1 commit intodlang:masterfrom
rainers:appveyor_coff32

Conversation

@rainers
Copy link
Member

@rainers rainers commented Feb 28, 2018

No description provided.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @rainers!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

@wilzbach
Copy link
Contributor

Looks like it's definitely worthwhile to do this:

Test runnable/test17559.d failed.  The logged output:
..\generated\Windows\Release\Win32\dmd.exe -conf= -m32mscoff -Irunnable -g    -odtest_m32mscoff\runnable -oftest_m32mscoff\runnable\test17559_0.exe  runnable\test17559.d  -map nul.map
test_m32mscoff\runnable\test17559_0.exe
object.Exception@runnable\test17559.d(48): fun
----------------
0x003DADEE in test17559 at C:\projects\dmd\test\runnable\test17559.d(48)
0x003DAD3B in D at C:\projects\dmd\test\runnable\test17559.d(32)
0x003DBE67 in void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll().__lambda1()
0x003DBDA9 in void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()
0x003DBB68 in _d_run_main
0x003DB2BC in __entrypoint
0x0040CC8B in __scrt_common_main_seh at f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl(253)
0x76E77C04 in BaseThreadInitThunk
0x77D5AD8F in RtlInitializeExceptionChain
0x77D5AD5A in RtlInitializeExceptionChain
core.exception.AssertError@runnable\test17559.d(55): Assertion failure
----------------
0x003DB463 in _d_assertp
0x003DAD3B in D at C:\projects\dmd\test\runnable\test17559.d(32)
0x003DBE67 in void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll().__lambda1()
0x003DBDA9 in void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()
0x003DBB68 in _d_run_main
0x003DB2BC in __entrypoint
0x0040CC8B in __scrt_common_main_seh at f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl(253)
0x76E77C04 in BaseThreadInitThunk
0x77D5AD8F in RtlInitializeExceptionChain
0x77D5AD5A in RtlInitializeExceptionChain

@rainers
Copy link
Member Author

rainers commented Feb 28, 2018

Looks like it's definitely worthwhile to do this:

That's the one fixed by dlang/druntime#2119.

@rainers rainers force-pushed the appveyor_coff32 branch 5 times, most recently from bac79e2 to 8cace70 Compare March 1, 2018 09:55
@skl131313
Copy link
Contributor

Does the VisualD build for win32 use -m32 or -m32mscoff?

@rainers
Copy link
Member Author

rainers commented Mar 2, 2018

Does the VisualD build for win32 use -m32 or -m32mscoff?

It links with a VC built backend, so it has to use -m32mscoff.


void bar()
{
version(CRuntime_Microsoft) {} else // TODO: fails for -O -inline, also disabled for the auto-tester
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the problem here? What's the plan for eventually enabling it for the auto tester? Is a bug report filed for it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@JinShil JinShil Mar 3, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case I recommend adding links to those issues in the comments and come clean about your understanding of what's going on. Something like:

"Fibers appear to be broken in Windows. We don't yet have a solution, see these issues...." or something like that. My motivations is to ensure that there is some kind of "paper trail" that one can follow to eventually solve the issue.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with the "paper trail" proposal, otherwise such comments just mystify the reader.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rainers my guess is that this test passes on LDC. Can you scope this to CRuntime_Microsoft and DigitalMars (i.e. dmd)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I figured it out: dlang/druntime#2129. All windows builds should be affected, but happens spuriously.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have removed the workaround in the hope that the bugfix will be accepted.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@skl131313
Copy link
Contributor

Using DISABLED: win32 in the test settings at the top would help for that a bit, so that the test output doesn't show it's successful rather than being skipped.

@rainers
Copy link
Member Author

rainers commented Mar 4, 2018

Appveyor even passed without dlang/druntime#2129, but I guess that can change spuriously (but also for the Win64 check on Appveyor or the Windows checks on the auto tester).

@JinShil
Copy link
Contributor

JinShil commented Mar 7, 2018

Restarted Semaphore CI. All CIs are passing now.

@dlang-bot dlang-bot merged commit 6e4a756 into dlang:master Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants